From 83c9fe109ea705fc6beabb561658aa08432ae0cf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 31 Jul 2014 00:12:30 +0200 Subject: [PATCH] GtkImage: Always close the loader This was causing some tests to fail with a critical. --- gtk/gtkimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 98c969eb3f..80b514d98f 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -900,6 +900,7 @@ load_scalable_with_loader (GtkImage *image, } out: + gdk_pixbuf_loader_close (loader, NULL); g_object_unref (loader); g_bytes_unref (bytes); -- 2.30.2